package com.liurong.quartz.util.entity;

/**
 * 定时任务的相关实体
 * 
 * @author liurong
 *
 */
public class JobEntity {
	/**
	 * 是否启动：0:未启动，1:启动成功
	 */
	private Integer isStart;

	/**
	 * cron表达式
	 */
	private String cronStr;

	/**
	 * 是否支持手动执行
	 */
	private boolean isHandStart;

	public Integer getIsStart() {
		return isStart;
	}

	public void setIsStart(Integer isStart) {
		this.isStart = isStart;
	}

	public String getCronStr() {
		return cronStr;
	}

	public void setCronStr(String cronStr) {
		this.cronStr = cronStr;
	}

	public boolean isHandStart() {
		return isHandStart;
	}

	public void setHandStart(boolean isHandStart) {
		this.isHandStart = isHandStart;
	}

	@Override
	public String toString() {
		return "JobEntity [isStart=" + isStart + ", cronStr=" + cronStr + ", isHandStart=" + isHandStart + "]";
	}

}
